<template>
  <div class="grand-child">
    <h2>我是GrandChild组件{{ x }}</h2>
  </div>
</template>

<script>
  export default {
    name:'GrandChild'
  }
</script>

<style scoped>
  .grand-child {
    background-color: orange;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px;
  }
</style>